package jkernel;

public class Enummerate {
    public static void main(String[] args) {
        System.out.println(Weekday.MON);
        System.out.println(Weekday.TUE);
        System.out.println(Weekday.WED);
        System.out.println(Weekday.THU);
        System.out.println(Weekday.FRI);

        System.out.println(Weekend.SAT.name());
        System.out.println(Weekend.SAT.ordinal());
        System.out.println(Weekend.SUN.ordinal());
    }
}

class Weekday{
    public static final int MON = 1;
    public static final int TUE = 2;
    public static final int WED = 3;
    public static final int THU = 4;
    public static final int FRI = 5;
}

enum Weekend{
    SUN, SAT;
}
